﻿namespace NGroup.VTL.Web.Controllers
{
    using System.Web.Mvc;
    using NGroup.VTL.Service.Abstraction;
    using NGroup.VTL.Service;

    public class danh_sach_khach_hangController : ContentBaseController
    {
        #region Constructor

        private IRetrieveContentService _retrieveContentService;

        public danh_sach_khach_hangController()
        {
            _retrieveContentService = new RetrieveContentService();
        }

        public danh_sach_khach_hangController(IRetrieveContentService retrieveContentService)
        {
            _retrieveContentService = retrieveContentService;
        }

        #endregion

        public ActionResult chi_tiet()
        {
            string uniqueString = "danh-sach-khach-hang";
            var model = _retrieveContentService.GetNewsDetail(uniqueString, CurrentLanguage);
            ViewBag.UniqueString = model.Title;
            ViewBag.MetaKeyword = model.MetaContent;
            ViewBag.MetaDescription = model.MetaDescription;
            return View(model);
        }
    }
}
